package org.daidai.abstrusewriting.homepage.top.model;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by liuch on 2016/10/31.
 */

public class RankingListDetail {
    @SerializedName("pageId")
    private int pageId;
    @SerializedName("title")
    private String title;
    @SerializedName("msg")
    private String msg;
    @SerializedName("subtitle")
    private String subtitle;
    @SerializedName("categories")
    private List<Category> categories;
    @SerializedName("coverPath")
    private String coverPath;
    @SerializedName("list")
    private List<ListItem> list;
    @SerializedName("shareContent")
    private ShareContent shareContent;


    public class ShareContent{
        @SerializedName("content")
        private String content;
        @SerializedName("picUrl")
        private String picUrl;
        @SerializedName("rowKey")
        private String rowKey;
        @SerializedName("subtitle")
        private String subtitle;
        @SerializedName("title")
        private String title;
        @SerializedName("url")
        private String url;

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getPicUrl() {
            return picUrl;
        }

        public void setPicUrl(String picUrl) {
            this.picUrl = picUrl;
        }

        public String getRowKey() {
            return rowKey;
        }

        public void setRowKey(String rowKey) {
            this.rowKey = rowKey;
        }

        public String getSubtitle() {
            return subtitle;
        }

        public void setSubtitle(String subtitle) {
            this.subtitle = subtitle;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }

    public class ListItem{
        @SerializedName("albumId")
        private long albumId;
        @SerializedName("title")
        private String title;
        @SerializedName("coverSmall")
        private String coverSmall;
        @SerializedName("id")
        private long id;
        @SerializedName("nickname")
        private String nickname;
        @SerializedName("trackId")
        private long trackId;
        @SerializedName("updatedAt")
        private long updatedAt;
        @SerializedName("createdAt")
        private long createdAt;
        @SerializedName("duration")
        private int duration;
        @SerializedName("favoritesCounts")
        private int favoritesCounts;
        @SerializedName("playPath32")
        private String playPath32;
        @SerializedName("playPath64")
        private String playPath64;
        @SerializedName("playPathAacv164")
        private String playPathAacv164;
        @SerializedName("playPathAacv224")
        private String playPathAacv224;
        @SerializedName("playsCounts")
        private int playsCounts;
        @SerializedName("uid")
        private long uid;


        public long getTrackId() {
            return trackId;
        }

        public void setTrackId(long trackId) {
            this.trackId = trackId;
        }

        public long getUpdatedAt() {
            return updatedAt;
        }

        public void setUpdatedAt(long updatedAt) {
            this.updatedAt = updatedAt;
        }

        public long getCreatedAt() {
            return createdAt;
        }

        public void setCreatedAt(long createdAt) {
            this.createdAt = createdAt;
        }

        public int getDuration() {
            return duration;
        }

        public void setDuration(int duration) {
            this.duration = duration;
        }

        public int getFavoritesCounts() {
            return favoritesCounts;
        }

        public void setFavoritesCounts(int favoritesCounts) {
            this.favoritesCounts = favoritesCounts;
        }

        public String getPlayPath32() {
            return playPath32;
        }

        public void setPlayPath32(String playPath32) {
            this.playPath32 = playPath32;
        }

        public String getPlayPath64() {
            return playPath64;
        }

        public void setPlayPath64(String playPath64) {
            this.playPath64 = playPath64;
        }

        public String getPlayPathAacv164() {
            return playPathAacv164;
        }

        public void setPlayPathAacv164(String playPathAacv164) {
            this.playPathAacv164 = playPathAacv164;
        }

        public String getPlayPathAacv224() {
            return playPathAacv224;
        }

        public void setPlayPathAacv224(String playPathAacv224) {
            this.playPathAacv224 = playPathAacv224;
        }

        public int getPlaysCounts() {
            return playsCounts;
        }

        public void setPlaysCounts(int playsCounts) {
            this.playsCounts = playsCounts;
        }

        public long getUid() {
            return uid;
        }

        public void setUid(long uid) {
            this.uid = uid;
        }

        public long getAlbumId() {
            return albumId;
        }

        public void setAlbumId(long albumId) {
            this.albumId = albumId;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getCoverSmall() {
            return coverSmall;
        }

        public void setCoverSmall(String coverSmall) {
            this.coverSmall = coverSmall;
        }

        public long getId() {
            return id;
        }

        public void setId(long id) {
            this.id = id;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }
    }

    public class Category{
        @SerializedName("id")
        private int id;
        @SerializedName("key")
        private String key;
        @SerializedName("name")
        private String name;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getKey() {
            return key;
        }

        public void setKey(String key) {
            this.key = key;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }

    public int getPageId() {
        return pageId;
    }

    public void setPageId(int pageId) {
        this.pageId = pageId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getSubtitle() {
        return subtitle;
    }

    public void setSubtitle(String subtitle) {
        this.subtitle = subtitle;
    }

    public List<Category> getCategories() {
        return categories;
    }

    public void setCategories(List<Category> categories) {
        this.categories = categories;
    }

    public String getCoverPath() {
        return coverPath;
    }

    public void setCoverPath(String coverPath) {
        this.coverPath = coverPath;
    }

    public List<ListItem> getList() {
        return list;
    }

    public void setList(List<ListItem> list) {
        this.list = list;
    }

    public ShareContent getShareContent() {
        return shareContent;
    }

    public void setShareContent(ShareContent shareContent) {
        this.shareContent = shareContent;
    }
}
